class User():
    def __init__(self,first_name,last_name):
        self.first_name=first_name
        self.last_name=last_name
    def describe_user(self):
        print('用户的性为'+self.first_name)
        print('用户的名为'+self.last_name)
    def greet_user(self):
        print('Hello'+self.first_name+self.last_name)

class Admin():
    def __init__(self,first_name,last_name):
        super().__init__(first_name,last_name)
        self.privileges = ()

class Privileges(User):
    def __init__(self,privileges=[]):
        self.privileges=privileges
    def show_privileges(self):
        for privileges in self.privileges:
            print('Admin'+privileges)

admin=Admin('朱','翌帆')
admin.privileges.privileges=["can add post" ,"can delete post" ,"can ban user"]
admin.privileges.show_privileges()
